home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / serien / purity / nr.42 / includes3v1 / includes3v1.lha / Prefs / Sound.i < prev    next >
Text File  |  1994-12-04  |  903b  |  27 lines

  1.     {   File format for sound preferences  }
  2.  
  3. {$I "Include:Libraries/IffParse.i"}
  4.  
  5. const
  6.  ID_SOND = 1397706308;
  7.  
  8. Type
  9.  SoundPrefs = Record
  10.     sop_Reserved        : Array[0..3] of Integer;            { System reserved            }
  11.     sop_DisplayQueue,               { Flash the display?         }
  12.     sop_AudioQueue      : Boolean;  { Make some sound?           }
  13.     sop_AudioType,                  { Type of sound, see below   }
  14.     sop_AudioVolume,                { Volume of sound, 0..64     }
  15.     sop_AudioPeriod,                { Period of sound, 127..2500 }
  16.     sop_AudioDuration   : WORD;     { Length of simple beep      }
  17.     sop_AudioFileName   : Array[0..255] of Char;     { Filename of 8SVX file      }
  18.  end;
  19.  SoundPrefsPtr = ^SoundPrefs;
  20.  
  21. const
  22. { constants for SoundPrefs.sop_AudioType }
  23.  SPTYPE_BEEP    = 0;       { simple beep sound }
  24.  SPTYPE_SAMPLE  = 1;       { sampled sound     }
  25.  
  26.  
  27.